<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('meeting/hire/lists')}">租赁服务管理</a></li>
        <li><a href="{:url('meeting/hire/add')}">添加租赁服务</a></li>
        <li><a href="{:url('meeting/hire/classList')}">服务分类</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('meeting/hire/lists')}">
        服务名称：
        <input class="form-control" type="text" name="hire_name" style="width: 200px;" value="{:input('request.hire_name')}"
               placeholder="">
        <input type="submit" class="btn btn-primary" value="搜索"/>
        <a class="btn btn-danger" href="{:url('meeting/hire/lists')}">清空</a>
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
<!--                <th><input type="checkbox" onclick="check()"></th>-->
                <th>id</th>
                <th>服务编号</th>
                <th>服务名</th>
                <th>分类</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="vo">
                <tr>
<!--                    <td><input type="checkbox" name="id[]" value="{$vo['id']}"></td>-->
                    <td>{$vo.id}</td>
                    <td>{$vo.code}</td>
                    <td>{$vo.hire_name}</td>
                    <td>{$vo.class_name}</td>
                    <td>
                        <a href="{:url('edit',['id'=>$vo['id']])}" class="btn btn-success">编辑</a>
                        <a href="{:url('dele',['id'=>$vo['id']])}" class="btn btn-danger js-ajax-dialog-btn">删除</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
    </form>

</div>
<script src="__STATIC__/js/admin.js"></script>
<script>
    function check() {

    }
</script>
</body>
</html>